package org.example.ssm.service;

import org.example.ssm.po.User;

import java.util.List;

/**
 * @author 莫磊
 * @date 2025/8/16
 * @description
 */
public interface UserService {

    void saveUser(User user);

    User getById(Integer id);

    User getByName(String name);

    List<User> getAll();
}
